﻿@model TrocaFigurinhas.Models.Usuario

@{
    ViewBag.Title = "MinhasFigurinhas";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Meu Profile</h2>

<fieldset>
    <legend>Meus Dados</legend>

    <div class="display-label">Nome</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nome)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

</fieldset>
<!--
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
-->

<h2>Minhas Ofertas</h2> 
@foreach (var oferta in Model.Ofertas)
{
    @Html.Partial("_OfertaPartial", oferta)
}